package heart_manager

import (
	"gitee.com/zaper/patch/service/hot_patch_client_service"
	"gitee.com/zaper/patch/service/kafka_manager"
	"gitee.com/zaper/private-logger"
)

func InitializeHeartService() {
	logger.Info("Start async initialize heart,create kafka consumer")
	go kafka_manager.InitializeConsumer(hot_patch_client_service.GetHotPatchClientSubModel(),
		hot_patch_client_service.GetHotPatchClientConsumer())
	logger.Info("End async initialize heart")
}
